package com.train.service;

import com.train.dto.EmployeeDTO;
import com.train.pojo.Employee;

import java.util.List;

public interface EmployeeService {
    //查询全部员工信息
    List<EmployeeDTO> selectAllEmployeeDTO();


    //根据部门编号查询卡状态不正常的员工
    List<Employee> selectAllEmployeeByDepid(int departmentid);

    //根据部门编号查询所有员工
    List<Employee> selectEmployeeByDepid(int departmentid);

    List<EmployeeDTO> selectAllEmployeeDTOByCourseid(Integer courseid);

    List<EmployeeDTO> findByRequired(EmployeeDTO employeeDTO);

    Employee selectEmployeeByIdcard(String idcard);

    //根据id查询员工信息
    Employee selectEmployeeById(int id);
    //添加一个员工信息
    int addEmployee(Employee employee);
    //修改一个员工信息
    int updateEmployee(Employee employee);
    //根据id删除员工信息
    int deleteEmployee(int id);
}
